<%-- 
    Document   : mail
    Created on : 2012-6-7, 21:10:06
    Author     : txdnet
--%>


<%@page import="cn.txdnet.txweb.utils.Execute"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="cn.txdnet.txweb.mail.SimpleSender"%>
<%@page import="cn.txdnet.txweb.utils.JsonUtil"%>
<%@page import="cn.txdnet.txweb.mail.EmailConfig"%>
<%@page import="txdnet.util.mail.*"%>
<%@page import="cn.txdnet.txweb.mail.*"%>
<%@page import="cn.txdnet.txweb.utils.WebUtil"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" buffer="16kb" session="true" autoFlush="true"%>
<%

String attachFile = WebUtil.WEB_APP_PATH.concat("log.gif");
//out.println(JsonUtil.toJSONString(EmailConfig.getRandomSmtpParm()));
List<SimpleSender> rec = new ArrayList<SimpleSender>();

SimpleSender sender = new SimpleSender("372578374@qq.com","天猫热卖","您的密码需要重置","aaaaaaaaaabb呵呵,密码如下:sdfasdf", true);
rec.add(sender);

sender = new SimpleSender("hongdeviltxd@163.com","uobai","您的密码需要重置","aaaaaaaaaabb呵呵,密码如下:sdfasdf", true);
rec.add(sender);

sender = new SimpleSender("190916278@qq.com","uuola","您的密码需要重置","<b>aaaaaaaaaabb呵呵,密码如下</b>:sdfasdf", true);
rec.add(sender); 

/*
sender = new SimpleSender("aiwoxiangxiang@qq.com","Happy漫步者","猫猫爱吃洋芋，测试邮件，重要","<b>aaaaaaaaaabb呵呵,测试下邮件群发效果</b>:sdfasdf<br/>收到了就QQ里回我下.", true);
rec.add(sender);

sender = new SimpleSender("313306674@qq.com","Happy漫步者","仙剑，测试邮件，重要","<b>aaaaaaaaaabb呵呵,测试下邮件群发效果</b>:sdfasdf<br/>收到了就QQ里回我下.", true);
rec.add(sender);

sender = new SimpleSender("tangxiaodong@yihaodian.com","Happy漫步者","txdnet 测试邮件，重要","<b>aaaaaaaaaabb呵呵,测试下邮件群发效果</b>:sdfasdf<br/>收到了就QQ里回我下.", true);
rec.add(sender);
 *  * */


for(SimpleSender s:rec){
    Execute.run(new EmailSenderTask(s));
}
%>
